package com.hmy.infrastructure.api.bo.response.dingtalk.user;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

@Data
public class UserDetailResult {

    /**
     * 唯一标识
     */
    @JsonProperty(value = "unionid")
    private String unionId;

    private boolean boss;

    @JsonProperty(value = "role_list")
    private List<Role> roleList;

    private boolean admin;

    private String remark;

    private String title;

    @JsonProperty(value = "hired_date")
    private Timestamp hiredDate;

    @JsonProperty(value = "userid")
    private String userId;

    @JsonProperty(value = "work_place")
    private String workPlace;

    @JsonProperty(value = "dept_id_list")
    private List<String> deptIdList;

    @JsonProperty(value = "job_number")
    private String jobNumber;

    private String email;

    private String mobile;

    private boolean active;

    private String telephone;

    private String avatar;

    private String name;

}
